package com.example.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PrivateCourse {
    private int id;
    private String intro;
    private int price;
    private String name;
    private int lastTime;
    private String picurl;
    private Coach coach;

    private String lastTimeString;
    public String getLastTimeString(){
        return lastTime+"分钟";
    }
}
